class RRModel {
  late int rr;
  late int timestamp;

  RRModel({required this.rr, required this.timestamp});

  RRModel.fromJson(Map<String, dynamic> json) {
    rr = json['rr'];
    timestamp = json['timestamp'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['rr'] = rr;
    data['timestamp'] = timestamp;
    return data;
  }

  @override
  String toString() {
    return "($rr, $timestamp)";
  }
}
